<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    请输入一串数字
    <input type="text" />
    <button>转格式</button>
    转换后的字符串:
    <script>
      let num = 123
      console.log(parseInt('123abc111') + 1)
    </script>
  </body>
</html>
